# !/usr/bin/env python
# -*- coding: utf-8 -*-

from wechatpy.client.api import WeChatMisc


def create_short_url(long_url):
    """
    创建一个短链接
    :param long_url:
    :return:
    """
    misc = WeChatMisc()
    return misc.short_url(long_url)
